<?php

namespace app\admin\model\operation;

use app\common\model\TimeModel;

/**
 * @property int $id id 
 * @property \app\admin\model\operation\OperationSystemMessage $operationSystemMessage 系统消息 
 * @property \app\admin\model\user\User $user 用户 
 * @property int $status 状态 
 * @property int $create_time 读取时间 
 */
class OperationSystemMessageRead extends TimeModel
{

    protected $name = "operation_system_message_read";

    protected $deleteTime = false;

    
    
    
    public function operationSystemMessage()
    {
        return $this->belongsTo('\app\admin\model\operation\OperationSystemMessage', 'sys_msg_id', 'id');
    }

    public function user()
    {
        return $this->belongsTo('\app\admin\model\user\User', 'user_id', 'id');
    }


}